package com.bleeth.flow.web.model;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.jpa.model.BaseModel;

import javax.persistence.MappedSuperclass;
import java.util.Date;

/**
 * @author ：Bleeth
 * @date ：2022-05-16
 * @description：兴业数据管理模型
 */

@Getter
@Setter
@MappedSuperclass
public class FlowBaseModel extends BaseModel  {

    @EruptField(
            views = @View(title = "创建者", sortable = true)
    )
    private String createdBy;


    @EruptField
    private String updatedBy;

    @EruptField
    private Long createdById;


    @EruptField
    private Long updatedById;

    @EruptField
    private Date createdOn;

    @EruptField
    private Date updatedOn;



}
